//
//  DMineCell.m
//  dance
//
//  Created by aether on 2023/10/20.
//

#import "DMineCell.h"

@interface DMineCell ()

@property (nonatomic, weak) IBOutlet UIImageView *icon;
@property (nonatomic, weak) IBOutlet UILabel *title;

@end

@implementation DMineCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setName:(NSString *)name {
    _name = name;
    
    [self.icon setImage:[UIImage imageNamed:self.name]];
    [self.title setText:self.name];
}

@end
